<template>
  <div>
    <el-row>
      <div class="ui animated button" tabindex="0">
        <div class="visible content">Next</div>
        <div class="hidden content">
          <i class="right arrow icon"></i>
        </div>
      </div>
      <div class="ui animated fade button" tabindex="0">
        <div class="visible content">Sign-up for a Pro account</div>
        <div class="hidden content">每月12.99美元</div>
      </div>
    </el-row>
    <el-row>
      <g2-button>默认按钮</g2-button>
      <g2-button type="primary">主要按钮</g2-button>
      <g2-button type="success">成功按钮</g2-button>
      <g2-button type="info">信息按钮</g2-button>
      <g2-button type="warning">警告按钮</g2-button>
      <g2-button type="danger">危险按钮</g2-button>
    </el-row>

    <el-row>
      <g2-button plain>朴素按钮</g2-button>
      <g2-button type="primary" plain>主要按钮</g2-button>
      <g2-button type="success" plain>成功按钮</g2-button>
      <g2-button type="info" plain>信息按钮</g2-button>
      <g2-button type="warning" plain>警告按钮</g2-button>
      <g2-button type="danger" plain>危险按钮</g2-button>
    </el-row>

    <el-row>
      <g2-button round>圆角按钮</g2-button>
      <g2-button type="primary" round>主要按钮</g2-button>
      <g2-button type="success" round>成功按钮</g2-button>
      <g2-button type="info" round>信息按钮</g2-button>
      <g2-button type="warning" round>警告按钮</g2-button>
      <g2-button type="danger" round>危险按钮</g2-button>
    </el-row>
    <el-row>
      <g2-button loading>圆角按钮</g2-button>
    </el-row>
    <el-card>
      <div slot="header">流式布局</div>
      <div>
        <g2-button fluid>适应容器</g2-button>
      </div>
    </el-card>

    <el-card>
      <div slot="header">按钮组</div>
      <div>
        <el-row>
          <g2-button-group>
            <g2-button>左边</g2-button>
            <g2-button>中间</g2-button>
            <g2-button>左边</g2-button>
          </g2-button-group>
          <g2-button-group direction="vertical">
            <g2-button>左边</g2-button>
            <g2-button>中间</g2-button>
            <g2-button>左边</g2-button>
          </g2-button-group>
        </el-row>
      </div>
    </el-card>

     <el-card>
      <div slot="header">img</div>
      <div>
        <el-row>
          <g2-img src="/static/img/user_0.a28de9a.jpg"></g2-img>
        </el-row>
      </div>
    </el-card>

    <el-row>
      <g2-button icon="el-icon-search" circle></g2-button>
      <g2-button type="primary" icon="el-icon-edit" circle></g2-button>
      <g2-button type="success" icon="el-icon-check" circle></g2-button>
      <g2-button type="info" icon="el-icon-message" circle></g2-button>
      <g2-button type="warning" icon="el-icon-star-off" circle></g2-button>
      <g2-button type="danger" icon="el-icon-delete" circle></g2-button>
    </el-row>

    <el-row>
      <g2-button disabled>默认按钮</g2-button>
      <g2-button type="primary" disabled>主要按钮</g2-button>
      <g2-button type="success" disabled>成功按钮</g2-button>
      <g2-button type="info" disabled>信息按钮</g2-button>
      <g2-button type="warning" disabled>警告按钮</g2-button>
      <g2-button type="danger" disabled>危险按钮</g2-button>
    </el-row>

    <el-row>
      <g2-button plain disabled>朴素按钮</g2-button>
      <g2-button type="primary" plain disabled>主要按钮</g2-button>
      <g2-button type="success" plain disabled>成功按钮</g2-button>
      <g2-button type="info" plain disabled>信息按钮</g2-button>
      <g2-button type="warning" plain disabled>警告按钮</g2-button>
      <g2-button type="danger" plain disabled>危险按钮</g2-button>
    </el-row>

    <g2-button type="text">文字按钮</g2-button>
    <g2-button type="text" disabled>文字按钮</g2-button>

    <g2-button type="primary" icon="el-icon-edit"></g2-button>
    <g2-button type="primary" icon="el-icon-share"></g2-button>
    <g2-button type="primary" icon="el-icon-delete"></g2-button>
    <g2-button type="primary" icon="el-icon-search">搜索</g2-button>
    <g2-button type="primary">
      上传
      <i class="el-icon-upload el-icon--right"></i>
    </g2-button>

    <g2-button-group>
      <g2-button type="primary" icon="el-icon-arrow-left">上一页</g2-button>
      <g2-button type="primary">
        下一页
        <i class="el-icon-arrow-right el-icon--right"></i>
      </g2-button>
    </g2-button-group>
    <g2-button-group>
      <g2-button type="primary" icon="el-icon-edit"></g2-button>
      <g2-button type="primary" icon="el-icon-share"></g2-button>
      <g2-button type="primary" icon="el-icon-delete"></g2-button>
    </g2-button-group>

    <el-row>
      <g2-button>默认按钮</g2-button>
      <g2-button size="medium">中等按钮</g2-button>
      <g2-button size="small">小型按钮</g2-button>
      <g2-button size="mini">超小按钮</g2-button>
    </el-row>
    <el-row>
      <g2-button round>默认按钮</g2-button>
      <g2-button size="medium" round>中等按钮</g2-button>
      <g2-button size="small" round>小型按钮</g2-button>
      <g2-button size="mini" round>超小按钮</g2-button>
    </el-row>
  </div>
</template>

<script>
export default {
  name: "g2UIButton",
  props: {},
  components: {},
  data() {
    return {};
  },
  computed: {},
  created() {},
  mounted() {},
  watch: {},
  methods: {}
};
</script>

<style scoped lang="scss">
</style>
